class Controller {
  store() {
    function local() {
      console.log(this)
    }
    local()
  }
}

let user = new Controller()
user.name = '用户名子'
user.store()
